package com.mm.mapper;

import com.mm.bo.GoodsSearchBo;
import com.mm.my.mapper.MyMapper;
import com.mm.pojo.GoodsInfo;
import com.mm.vo.GoodsInfoVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsInfoMapper extends MyMapper<GoodsInfo> {
    /**
     * 物资列表条数查询
     *
     * @param goodsSearchBo
     * @return
     */
    Integer findGoodsListCount(GoodsSearchBo goodsSearchBo);

    /**
     * 物资列表查询
     *
     * @param goodsSearchBo
     * @return
     */
    List<GoodsInfoVo> findGoodsList(GoodsSearchBo goodsSearchBo);
}